﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CqusInfo.RAL.Community
{
    /// <summary>
    /// tb_Messages  留言表
    /// </summary>
    public class MessagesModel
    {
        public string c_vc_mId { get; set; }
        public string c_vc_userName { get; set; }
        public string c_vc_content { get; set; }
        public bool c_b_isCopy { get; set; }
        public Int32 c_i_copyNO { get; set; }
        public DateTime c_dt_dateTime { get; set; }
        public bool c_b_isDel { get; set; }

        /// <summary>
        /// 无参构造函数
        /// </summary>
        public MessagesModel()
        {

        }

        /// <summary>
        /// 有参构造函数
        /// </summary>
        /// <param name="mId">tb_Messages ID</param>
        /// <param name="userName">用户名</param>
        /// <param name="content">内容</param>
        /// <param name="copyNO">引用的次数</param>
        /// <param name="isCopy">权限：true：允许引用 false：不许引用</param>
        /// <param name="dateTime">创建日期</param>
        /// <param name="isDel">是否删除</param>
        public MessagesModel(string mId, string userName, string content, bool isCopy, Int32 copyNO, DateTime dateTime, bool isDel)
        {
            this.c_vc_mId = mId;
            this.c_vc_userName = userName;
            this.c_vc_content = content;
            this.c_dt_dateTime = dateTime;
            this.c_b_isCopy = isCopy;
            this.c_i_copyNO = copyNO;
            this.c_b_isDel = isDel;
        }
    }
}
